<template>
  <div id="app">
    <div class="viewport">我是viewport实现的</div>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
};
</script>

<style>
.viewport {
  width: 100%;
  height: 600px;
  background: red;
  font-size: 26px;
}
</style>
